package com.ctl.lib_common.utils.http

import androidx.annotation.StringRes
import com.ctl.lib_common.R

/**
 * @description: 服务器返回异常数据模型
 */
class HttpServerException() {
    var errorCode: Int = -1
    var message: Int = R.string.common_http_error_unknow

    constructor(errorCode: Int, @StringRes message: Int) : this() {
        this.errorCode = errorCode
        this.message = message
    }
}